


import request from '@/axios';
import { baseUrl } from '@/config/env';

// 商家管理-设置-结算设置-修改
export const settlementSettingUpdate = (data) => request({
    url: baseUrl + '/merchantCenter/settlementSetting/update',
    method: 'post',
    data
})
// 商家管理-设置-结算设置-查询
export const getTlementSettingList = () => request({
    url: baseUrl + `/merchantCenter/settlementSetting/list`,
    method: 'get'
});


// 商家管理-设置-基础设置-地区树形查询
export const getTree = () => request({
    url: baseUrl + `/merchantCenter/city/tree`,
    method: 'get'
});
// 商家管理-设置-基础配置-查询
export const getBaseList = () => request({
    url: baseUrl + `/merchantCenter/base/list`,
    method: 'get'
});

// 商家管理-设置-基础设置-修改
export const baseUpdate = (data) => request({
    url: baseUrl + '/merchantCenter/base/update',
    method: 'post',
    data
})